<?php namespace App\Services;

use App\Test;
use Validator,Request,Session;

class TestServices {

    /**
     * 提交给模型层创建新实例
     *
     */
    public function create(array $data)
    {
        return Test::create($data);
    }
   public function getOne($id)
    {
        return Test::find($id);
    }
}
